<!--  -->
<template>
  <div class="message">
      <el-badge :value="100" :max="99" class="item">
        <i class="el-icon-message-solid"></i>
    </el-badge>
  </div>
</template>

<script>
export default {
  name: 'Message',
  data() {
    return {}
  },
}
</script>

<style lang="scss" scoped>
.message {
  height: 100%;
  display: inline-block;
  box-sizing: border-box;
  padding: 0 28px;
  &:hover {
    background-color: var(--bg-secondary-color);
  }
  i {
    width: 22px;
    height: 22px;
    font-size: 22px;
    cursor: pointer;
  }
}
::v-deep .el-badge__content.is-fixed {
    top: 10px;
}
</style>
